package redis

import io.gatling.core.Predef._
import io.gatling.core.structure.ScenarioBuilder
import io.gatling.extensions.redis.Predef._

class RedisPoolTestCase extends Simulation {

  val scn: ScenarioBuilder = scenario("test").forever(
    exec(redis_pool("192.168.106.149", 19000, "lmCBngJk3jSBsPBS7GnH").setPool(5, 5).get("test"))
  )

  setUp(scn.inject(atOnceUsers(10)))
}
